#ifndef	_OS_EVENT_H
#define	_OS_EVENT_H

#include "Global.h"


#define	MAX_EVENT	16



enum
{
    OS_EVENT_ANY_KEY_CHANGE = 0,
    OS_EVENT_ALL_KEY_RELEASE,
    OS_EVENT_SHORT_PRESS,
    OS_EVENT_LONG_PRESS,
    OS_EVENT_UPDATE_PARA,
};

extern const unsigned char	TAB_BIT[];

void	OS_SetEvent(uint8	event);
void	OS_ClrEvent(uint8	event);	
uint8	OS_GetEvent(uint8	event);
void	OS_initEvent(void);
//void	Fun_initEvent(void);
#endif
